package com.company.management.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.company.management.domain.req.PerformanceEvaluationsReq;
import com.company.management.domain.rsp.PerformanceUserResp;
import com.company.management.domain.rsp.UserResp;
import com.company.management.modal.entity.PerformanceEvaluationUsers;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author robet.li
 * @since 2025-03-02
 */
public interface PerformanceevaluationUsersMapper extends BaseMapper<PerformanceEvaluationUsers> {
    /**
     * 查询用户列表
     * @param req
     * @return
     */
    List<UserResp> getUserList(PerformanceEvaluationsReq req);

    /**
     * 查询绩效单中已分配绩效的用户列表
     * @param req
     * @return
     */
    List<UserResp> getAssignUserList(PerformanceEvaluationsReq req);

    /**
     * 按绩效单号查询绩效单中已分配绩效的用户列表
     * @param req
     * @return
     */
    List<PerformanceUserResp> getPerformanceUserList(PerformanceEvaluationsReq req);
}
